BINARY_DIR = ../obj/apps
U = user
target = ../fs.img 

# create sfs.img
UPROGS=\



fs.img: mkfs  $(UPROGS)
	dd if=/dev/zero of=../$@ bs=1kB count=480 
	./mkfs $(target)  $(UPROGS)

$(UPROGS):
	mkdir -p  $U
	cp $(BINARY_DIR)/*  $U

mkfs: mkfs.c 
	gcc  -Wall -I. -o mkfs mkfs.c


clean:
	rm  $(target) 
	rm -rf $U
